package modelimplementation


type DirectMethod struct{
	itsBank string
	itsAccount string
}

func(d *DirectMethod) NewDirectMethod(bank string, account string) *DirectMethod{
	d.itsBank = bank
	d.itsAccount = account
}

func(d *DirectMethod) GetBank() string{
	return d.itsBank
}

func(d *DirectMethod) GetAccount() string{
	return d.itsAccount
}

func(d *DirectMethod) Pay(pc Paycheck){
	pc.SetField("Disposition", "Direct")
}

